# John's Version
# Lab 3 Quiz (I just used the questions from the example run)


numQ = 5
numCorrect = 0

print("Quiz time!")

# Question 1
ans1 = int(input("How many books are there in the Harry Potter series? "))
corrAns1 = 7	# correct answer 1
if ans1 == corrAns1:
	print("Correct!")
else:
	print("No, sorry, the correct answer is ", corrAns1)

# Question 2
ans2 = float(input("What is 3*(2-1)? "))
corrAns2 = 3*(2-1)
if ans2 == corrAns2:
	print("Correct!")
else:
	print("No, sorry, the correct answer is ", corrAns2)

# Question 3 
ans3 = float(input("What is 3*2-1? "))
corrAns3 = 3*2-1
if ans3 == corrAns3:
	print("Correct!")
else:
	print("No, sorry, the correct answer is ", corrAns3)
	
print("Out of:\n1: Kelly Clarkson\n2: K.T. Tunstall\n3: Hillary Dubb\n4: Bon Jovi,")
ans4 = input("who sings Black Horse and the Cherry Tree? ")
corrAns4Str = "K.T. Tunstall";
corrAns4 = 2

# Question 4 
if ans4.isdigit():
	corrStatus4 = corrAns4 == int(ans4)
else:
	corrStatus4 = ans4.lower() == corrAns4Str.lower()
	
if corrStatus4:
	print("Correct!")
else:
	print("No, sorry, the correct answer is ", corrAns4Str)
	
# Question 5 	
print("Out of:\n1: George Washington \n2: Abraham Lincoln \n3: John Adams \n4:Thomas Jefferson,")
ans5 = input("who is on the front of the one-dollar bill? ")
corrAns5Str = "George Washington"
corrAns5 = 1

if ans5.isdigit():
	corrStatus5 = corrAns5 == int(ans5)
else:
	corrStatus5 = ans5.lower() == corrAns5Str.lower()
	
if corrStatus5:
	print("Correct!")
else:
	print("No, sorry, the correct answer is ", corrAns5Str)


